package com.ruoyi.admin.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 优惠券管理对象 coupon
 * 
 * @author ruoyi
 * @date 2025-04-17
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Coupon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 优惠券名称 */
    @Excel(name = "优惠券名称")
    private String name;

    /** 优惠券数量 */
    @Excel(name = "优惠券数量")
    private Long count;
    /**乐观锁版本号*/
    private Integer version;

}
